首页> 外文OA文献 >Three Datatype Defining Rewrite Systems for Datatypes of Integers each extending a Datatype of Naturals
【2h】

Three Datatype Defining Rewrite Systems for Datatypes of Integers each extending a Datatype of Naturals

机译:三种数据类型定义每个整数数据类型的重写系统   扩展自然数据类型

摘要

Integer arithmetic is specified according to three views: unary, binary, anddecimal notation. The binary and decimal view have as their characteristic thateach normal form resembles common number notation, that is, either a digit, ora string of digits without leading zero, or the negated versions of the latter.The unary view comprises a specification of integer arithmetic based on 0,successor function $S$, and predecessor function, with negative normal forms$-S^i(0)$. Integer arithmetic in binary and decimal notation is based on(postfix) digit append functions. For each view we define a ground-confluentand terminating datatype defining rewrite system (DDRS), and in each case theresulting datatype is a canonical term algebra that extends a correspondingcanonical term algebra for natural numbers. Then, for each view, we consider an alternative DDRS based on treeconstructors that yield comparable normal forms, which for that binary anddecimal view admits expressions that are algorithmically more involved. TheseDDRSes are incorporated because they are closer to existing literature. Forthese DDRSes we also provide ground-completeness results. Finally, we define a DDRS for the ring of Integers (comprising fifteenrewrite rules) and prove its ground-completeness.
机译:根据三种视图指定整数算术:一元,二进制和十进制表示法。二进制和十进制视图的特征是每种范式都类似于普通的数字符号,即一个数字或一串不带前导零的数字,或后者的取反形式。一元视图包括基于整数算术的规范在0处,后继函数$ S $和前任函数具有负正态形式$ -S ^ i(0)$。二进制和十进制表示法的整数算术基于(后缀)数字附加函数。对于每个视图,我们都定义了定义重写系统(DDRS)的地面汇合和终止数据类型,并且在每种情况下,结果数据类型都是规范术语代数,它扩展了自然数的对应规范术语代数。然后,对于每个视图,我们考虑基于树构造器的替代DDRS,该结构可产生可比较的标准形式,对于该二进制和十进制视图,该DDRS允许算法上涉及更多的表达式。之所以合并这些DDRS,是因为它们更接近现有文献。对于这些DDRS,我们还提供了地面完整性结果。最后,我们为整数环定义了一个DDRS(包含15个重写规则),并证明了其完备性。

著录项

  • 作者

    Bergstra, Jan A.; Ponse, Alban;

  • 作者单位
  • 年度 2016
  • 总页数
  • 原文格式 PDF
  • 正文语种 {"code":"en","name":"English","id":9}
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号